package com.booth.apply.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author zfm
 * @since 2020-08-19
 */
@Data
@Accessors(chain = true)
@ApiModel(value="Apply对象", description="")
public class Apply {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "申请人id")
    private Integer userId;

    @ApiModelProperty(value = "申请人真实姓名")
    private String realName;

    @ApiModelProperty(value = "申请人账号")
    private Integer userAccount;

    @ApiModelProperty(value = "身份证号")
    private Integer idNumber;

    @ApiModelProperty(value = "身份证照片正")
    private String idPictureF;

    @ApiModelProperty(value = "身份证照片反")
    private String idPictureR;

    @ApiModelProperty(value = "位置信息")
    private String localInfo;

    @ApiModelProperty(value = "申请摊位数量")
    private Integer number;

    @ApiModelProperty(value = "审批状态 0代表未审批 1代表同意 2代表拒绝")
    private Integer flag;

    @ApiModelProperty(value = "拒绝原因（留言）")
    private String message;

    @ApiModelProperty(value = "经营范围")
    private String businessScope;

    @ApiModelProperty(value = "审批时间(审批者提交审批的时间)")
    private Date subTime;

    @ApiModelProperty(value = "申请时间(用户提交申请的时间)")
    private Date applyTime;

    private Integer days;

    @ApiModelProperty(value = "审批者账号")
    private Integer adminJobNumber;


}
